import req from '../utils/axios'

export const kaptcha = params => {
    return req.get('/kaptcha1', params)
}

export const verify = params => {
    return req.postForm('/verify', params)
}

export const smsSend = params => {
    return req.get('/sms/send', params)
}

export const login = params => {
    return req.postForm('/login', params)
}

export const logout = params => {
    return req.postForm('/logout', params)
}